import request from '@/utils/request'

export function login(data) {
  return request.post('/sys/login', data)
}

export function getInfo() {
  return request.post('/sys/profile')
}

export function getuserImg(id) {
  return request.get(`/sys/user/${id}`)
}
